package com.htn.common.core.constant;

/**
 * 充值的状态
 * 1. 未入账 2. 已入账 3. 充值失败-退回
 * */
public enum RechargeStatusEnum {
    ON_PROCESS("0", "未入账"),
    SUCCESS("1", "已入账"),
    FAIL("2", "充值失败-退回"),
    CANCLED("3", "取消"),
    ALL("all","全部")
    ;
    private final String value;
    private final String name;

    RechargeStatusEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    public String getName(){
        return name;
    }

    public String getValue(){
        return value;
    }
}
